<?php echo $this->doctype();?>

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<?php echo $this->headMeta();?>

<link rel="stylesheet" type="text/css" href="<?php echo $this->baseUrl('css/reset.css'); ?>" />
<link rel="stylesheet" type="text/css" href="<?php echo $this->baseUrl('css/common.css'); ?>" />
<link rel="stylesheet" type="text/css" href="<?php echo $this->baseUrl('css/jquery-ui-1.9.0.custom.min.css');?>">
<?php echo $this->headScript();?>

<?php echo $this->headTitle();?>

</head>

<body>
	<div id="wrap">
		<div id="header">
			<div class="logo left">
			</div>
			
			<div class="col-main">
				<div class="user-status white">
					您好! <?php echo $this->authInfo->username;?> <span>|</span> <a target="_self" href="<?php echo $this->url(array('controller' => 'user', 'action' => 'logout'));?>">[登出]</a>
				</div>
				<div class="top-menu white">
					<!-- 顶层菜单 begin -->
					<ul>
					<?php foreach ($this->topMenu as $item) {?>
						<li class="<?php if ($item['active']) {?>on<?php }?>">
							<a target="_self" href="<?php echo $item['href'];?>"><?php echo $item['label'];?></a>
						</li>
					<?php }?>
					</ul>
					<!-- 顶层菜单 end -->
				</div>
			</div>
		</div>
		
		<div id="main">
			<div class="left-menu">
				<!-- 左侧菜单 begin -->
				<div class="lm">
					<?php foreach ($this->leftMenu as $item) {?>
						<h3><?php echo $item['label']?></h3>
						<ul>
							<?php foreach ($item['pages'] as $subItem) {?>
								<li class="<?php if ($subItem['active']) {?>on<?php }?>">
									<a target="_self" href="<?php echo $subItem['href']?>"><?php echo $subItem['label']?></a>
								</li>
							<?php }?>
						</ul>
					<?php }?>
				</div>
				<!-- 左侧菜单 end -->
			</div>
			
			<div class="col-main">
				<div class="crumbs">
					当前位置:
					<span class="current-pos">
						我的面板 > 个人信息 > 修改密码 >
					</span>
				</div>
				<div class="col-1">
					<div class="content">
						<div id="rightMain">
							<?php echo $this->layout()->content; ?>
							
						</div>
						
						
					</div>
				</div>
			</div>
		</div>
			
		
		<div id="footer">
		</div>
	</div>
</body>
</html>